
        :root {
            --bg-main: #1a1a1a;
            --bg-form: #2b2b2b;
            --accent-red: rgba(230, 57, 70, 0.8);
            --dark-red: #c1121f;
            --light-text: #f8f9fa;
        }

        body {
            background-color: var(--bg-main);
            color: var(--light-text);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .form-container {
            background-color: var(--bg-form);
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            border: 1px solid var(--dark-red);
            max-width: 800px;
            margin: 0 auto 3rem;
            animation: fadeIn 0.5s ease-out, formGlow 5s infinite alternate;
        }

        .h2, h2 {
            font-size: calc(1.6em + .9vw);
        }

        .form-title {
            color: var(--light-text);
            margin-bottom: 1.5rem;
            font-weight: 600;
            text-align: center;
            position: relative;
            padding-bottom: 10px;
            animation: fadeIn 0.8s ease-out;
        }

        .form-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: var(--accent-red);
            border-radius: 3px;
            animation: lineExpand 1s ease-out;
        }

        .form-label {
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--light-text);
            animation: fadeIn 0.5s ease-out;
        }

        .required::after {
            content: ' *';
            color: var(--accent-red);
            animation: pulse 1.5s infinite;
        }

        .form-control, .form-select {
            background-color: #3a3a3a;
            border: 1px solid #4a4a4a;
            color: var(--light-text);
            padding: 0.75rem 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus, .form-select:focus {
            background-color: #4a4a4a;
            border-color: var(--accent-red);
            color: var(--light-text);
            box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
            animation: inputFocus 0.5s ease-out;
        }

        .form-control::placeholder {
            color: #aaaaaa;
        }

        .btn-submit {
            background: linear-gradient(135deg, var(--dark-red), var(--accent-red));
            border: none;
            padding: 0.75rem 2rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 1rem;
            animation: pulse 2s infinite;
        }

        .btn-submit:hover {
            background: linear-gradient(135deg, var(--accent-red), var(--dark-red));
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
            animation: none;
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        /* Кастомный select */
        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 16px 12px;
            cursor: pointer;
        }

        .form-select:hover {
            border-color: var(--accent-red);
            background-color: #4a4a4a;
        }

        .form-select option {
            background-color: #3a3a3a;
            color: var(--light-text);
            padding: 10px;
        }

        .form-select option:hover {
            background-color: var(--accent-red) !important;
            color: white;
        }

        /* Стили для выпадающих вариантов */
        .form-select option:hover,
        .form-select option:focus {
            background-color: var(--accent-red) !important;
            color: white;
        }

        /* Радиокнопки */
        .form-check-input {
            background-color: #3a3a3a;
            border: 1px solid #5a5a5a;
        }

        .form-check-input:checked {
            background-color: var(--accent-red);
            border-color: var(--accent-red);
            animation: radioPulse 0.5s ease-out;
        }

        .form-check-input:focus {
            box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
        }

        .form-check-label {
            color: var(--light-text);
        }

        /* Модальное окно */
        .modal-content {
            background-color: var(--bg-form);
            color: var(--light-text);
            border: 1px solid var(--dark-red);
        }

        .modal-header {
            border-bottom: 1px solid var(--dark-red);
        }

        .modal-footer {
            border-top: 1px solid var(--dark-red);
        }

        .btn-close {
            filter: invert(1);
        }

        /* Блок с пробниками */
        .samples-block {
            background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
            border: 1px solid var(--dark-red);
            border-radius: 6px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            animation: fadeIn 1s ease-out;
        }

        .samples-title {
            color: var(--accent-red);
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .samples-title::before {
            content: "🎤";
            margin-right: 10px;
            font-size: 1.2em;
            animation: bounce 2s infinite;
        }

        .samples-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .samples-link {
            display: inline-flex;
            align-items: center;
            color: rgb(255 255 255 / 80%);
            text-decoration: none;
            transition: all 0.2s ease;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
            background-color: rgba(193, 18, 31, 0.1);
            animation: fadeInLeft 0.8s ease-out;
        }

        .samples-link:hover {
            color: #ffffff;
            background-color: var(--dark-red);
            transform: translateX(5px);
            animation: linkHover 0.3s ease-out;
        }

        .samples-link::before {
            content: "🔗";
            margin-right: 8px;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .form-container {
                padding: 1.5rem;
            }

            .samples-block {
                padding: 1rem;
            }
        }

        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInLeft {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }

        @keyframes slideDown {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.02); }
            100% { transform: scale(1); }
        }

        @keyframes textPulse {
            0% { text-shadow: 0 0 10px rgba(230, 57, 70, 0.3); }
            50% { text-shadow: 0 0 20px rgba(230, 57, 70, 0.6); }
            100% { text-shadow: 0 0 10px rgba(230, 57, 70, 0.3); }
        }

        @keyframes lineExpand {
            from { width: 0; opacity: 0; }
            to { width: 100px; opacity: 1; }
        }

        @keyframes radioPulse {
            0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
            100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }

        @keyframes headerGlow {
            0% { box-shadow: 0 0 10px rgba(193, 18, 31, 0.3); }
            100% { box-shadow: 0 0 20px rgba(193, 18, 31, 0.7); }
        }

        @keyframes formGlow {
            0% { box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); }
            100% { box-shadow: 0 0 25px rgba(193, 18, 31, 0.3); }
        }

        @keyframes inputFocus {
            0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.25); }
            100% { box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25); }
        }

        @keyframes linkHover {
            0% { background-color: rgba(193, 18, 31, 0.1); }
            100% { background-color: var(--dark-red); }
        }

        .form-container {
            animation: fadeIn 0.5s ease-out;
        }

        .form-group {
            transition: all 0.3s ease;
        }

        .form-group:focus-within {
            transform: translateX(5px);
        }

        /* Стили для кастомного выпадающего списка */
        .custom-select-container {
            position: relative;
            margin-bottom: 1rem;
            animation: fadeIn 0.6s ease-out;
        }

        .custom-select-button {
            width: 100%;
            padding: 0.75rem 1rem;
            background-color: #3a3a3a;
            border: 1px solid #4a4a4a;
            color: var(--light-text);
            text-align: left;
            border-radius: 0.25rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .custom-select-button:hover {
            background-color: #4a4a4a;
            border-color: var(--accent-red);
        }

        .custom-select-button:focus {
            outline: none;
            box-shadow: 0 0 0 0.25rem rgba(230, 57, 70, 0.25);
        }

        .custom-select-dropdown {
            position: absolute;
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
            background-color: #3a3a3a;
            border: 1px solid var(--accent-red);
            border-radius: 0.25rem;
            z-index: 1000;
            display: none;
            box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
            margin-top: 0.25rem;
            animation: fadeIn 0.3s ease-out;
        }

        .custom-select-dropdown.show {
            display: block;
        }

        .custom-select-option {
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .custom-select-option:hover {
            background-color: var(--accent-red);
            color: white;
        }

        .custom-select-option.selected {
            background-color: var(--dark-red);
            color: white;
        }

        .custom-select-arrow {
            transition: transform 0.3s ease;
        }

        .custom-select-arrow.rotate {
            transform: rotate(180deg);
        }

        /* Дополнительное поле для опыта */
        .custom-experience-input {
            display: none;
            margin-top: 0.5rem;
            animation: fadeIn 0.5s ease-out;
        }

        .custom-experience-input.show {
            display: block;
        }

        /* Стили для сообщений об ошибках */
        .error-message {
            color: var(--accent-red);
            font-size: 0.875rem;
            margin-top: 0.25rem;
            animation: fadeIn 0.3s ease-out;
        }

        .is-invalid {
            border-color: var(--accent-red) !important;
            animation: shake 0.5s ease-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }

        .alert-success {
            --bs-alert-color: #ffffff;
            --bs-alert-bg: #852121;
            --bs-alert-border-color: #ff0000;
            --bs-alert-link-color: #000000;
            animation: fadeIn 0.5s ease-out, pulse 2s infinite;
        }

        /* Стили для раскрывающегося блока */
        .expandable-block {
            background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
            border: 1px solid var(--dark-red);
            border-radius: 8px;
            margin-bottom: 2rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            animation: fadeIn 1s ease-out;
            overflow: hidden;
        }

        .expandable-header {
            padding: 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .expandable-header:hover {
            background-color: rgba(193, 18, 31, 0.1);
        }

        .expandable-title {
            color: var(--accent-red);
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
        }

        .expandable-arrow {
            transition: transform 0.3s ease;
            font-size: 1.2rem;
        }

        .expandable-arrow.rotate {
            transform: rotate(180deg);
        }

        .expandable-content {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        .expandable-content.show {
            max-height: 2000px;
            padding: 0 1.5rem 1.5rem;
        }

        .info-content {
            line-height: 1.7;
            font-size: 1.05rem;
        }

        .info-section {
            margin-bottom: 1.5rem;
        }

        .info-section-title {
            color: var(--accent-red);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
        }

        .info-section-title::before {
            content: '🎬';
            margin-right: 10px;
        }

        .info-list {
            padding-left: 1.5rem;
        }

        .info-list li {
            margin-bottom: 0.5rem;
            position: relative;
        }

        .info-list li::before {
            content: '•';
            color: var(--accent-red);
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }

        .info-link {
            color: #ff6b6b;
            text-decoration: none;
            transition: all 0.2s ease;
            border-bottom: 1px dashed #ff6b6b;
        }

        .info-link:hover {
            color: #ffffff;
            border-bottom-color: #ffffff;
        }

        /* Стили для блока текущих проектов */
        .projects-block {
            background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
            border: 1px solid var(--dark-red);
            border-radius: 8px;
            margin-bottom: 2rem;
            padding: 1.5rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            animation: fadeIn 1s ease-out;
        }

        .projects-title {
            color: var(--accent-red);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
        }

        .projects-title::before {
            content: '🎮';
            margin-right: 10px;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }

        .project-card {
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            padding: 1rem;
            transition: all 0.3s ease;
        }

        .project-card:hover {
            background-color: rgba(193, 18, 31, 0.1);
            transform: translateY(-3px);
        }

        .project-name {
            color: var(--light-text);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .project-status {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .status-in-progress {
            background-color: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
        }

        .status-planning {
            background-color: rgba(33, 150, 243, 0.2);
            color: #2196F3;
        }

        .status-completed {
            background-color: rgba(156, 39, 176, 0.2);
            color: #9C27B0;
        }

        @media (max-width: 768px) {
            .expandable-header {
                padding: 1rem;
            }

            .expandable-title {
                font-size: 1.3rem;
            }

            .info-content {
                font-size: 1rem;
            }

            .info-section-title {
                font-size: 1.15rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }
        }




   /* Стили для карусели проектов */
.projects-carousel-block {
    background: linear-gradient(135deg, #2b2b2b, #1a1a1a);
    border: 1px solid var(--dark-red);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(193, 18, 31, 0.15);
    position: relative;
    overflow: hidden;
}

.projects-carousel-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    animation: headerGlow 3s infinite;
}

.projects-title {
    color: var(--accent-red);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.projects-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 3px;
}

.projects-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.projects-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 1rem;
    margin: -1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-carousel-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 300px;
    transition: all 0.3s ease;
}

.project-carousel-content {
    background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-carousel-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(193, 18, 31, 0.25);
}

.project-carousel-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-carousel-content:hover .project-carousel-img {
    transform: scale(1.1);
}

.project-carousel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c1121f, #e63946);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

.project-carousel-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.project-carousel-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-carousel-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-carousel-name {
    color: var(--light-text);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.project-carousel-description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

.carousel-control {
    background: rgba(193, 18, 31, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-control:hover {
    background: var(--accent-red);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(193, 18, 31, 0.4);
}

.carousel-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent-red);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(193, 18, 31, 0.7);
}

.no-projects-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #cccccc;
}

.no-projects-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-projects-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Анимации */
@keyframes carouselSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивность */
@media (max-width: 1200px) {
    .project-carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .projects-carousel-container {
        gap: 0.5rem;
    }

    .project-carousel-item {
        flex: 0 0 calc(100% - 1rem);
        min-width: 250px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-carousel-cover {
        height: 180px;
    }

    .project-carousel-info {
        padding: 1rem;
    }

    .project-carousel-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .projects-carousel-block {
        padding: 1.5rem;
    }

    .projects-title {
        font-size: 1.5rem;
    }

    .carousel-control {
        width: 35px;
        height: 35px;
        display: none; /* Скрываем кнопки на очень маленьких экранах */
    }
}


 /* Стили для раскрывающегося описания */
.project-description-container {
    position: relative;
}

.project-carousel-description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 4.5em; /* 3 строки */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.project-carousel-description.expanded {
    max-height: none;
    -webkit-line-clamp: unset;
    overflow-y: auto;
    max-height: 200px;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more-btn:hover {
    color: #ff6b6b;
}

.read-more-btn .expand-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .expand-arrow {
    transform: rotate(180deg);
}

.read-more-text,
.read-less-text {
    font-weight: 600;
}

/* Скрываем кнопку если описание короткое */
.project-description-container:not(.has-long-text) .read-more-btn {
    display: none;
}

/* Стили для скроллбара в расширенном описании */
.project-carousel-description.expanded::-webkit-scrollbar {
    width: 4px;
}

.project-carousel-description.expanded::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.project-carousel-description.expanded::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 2px;
}

.project-carousel-description.expanded::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}

/* Анимация раскрытия */
@keyframes expandDescription {
    from {
        max-height: 4.5em;
    }
    to {
        max-height: 200px;
    }
}

@keyframes collapseDescription {
    from {
        max-height: 200px;
    }
    to {
        max-height: 4.5em;
    }
}
        /* Добавляем новые стили для уведомлений внизу экрана */
        .alert-container {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1050;
            width: 90%;
            max-width: 600px;
            animation: slideUp 0.5s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translate(-50%, 100px);
            }
            to {
                opacity: 1;
                transform: translate(-50%, 0);
            }
        }



/* Стили для блока кастинга в теме сайта */
.casting-expandable-block {
    background: var(--card-bg, #1a1a1a);
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid var(--border-color, #333);
}

.casting-expandable-header {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--header-bg, #2a2a2a);
}

.casting-expandable-header:hover {
    background: var(--header-hover-bg, #333);
}

.casting-expandable-title {
    color: var(--text-color, #fff);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.casting-expandable-arrow {
    color: #ff4444;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.casting-expandable-arrow.rotate {
    transform: rotate(180deg);
}

.casting-expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: var(--bg-color, #1a1a1a);
}

.casting-expandable-content.show {
    max-height: 500px;
}

/* Карусель кастинга */
.casting-carousel-container {
    position: relative;
    padding: 30px 60px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.casting-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
    padding: 10px 0;
}

.casting-carousel::-webkit-scrollbar {
    display: none;
}

.casting-carousel-item {
    flex: 0 0 auto;
    width: 280px;
}

.casting-carousel-content {
    background: var(--card-bg, #2a2a2a);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #ff4444;
    position: relative;
    overflow: hidden;
}

.casting-carousel-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff4444;
}

.casting-carousel-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
    border-color: #ff4444;
}

.casting-character-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ff4444;
    background: var(--bg-color, #1a1a1a);
    position: relative;
}

.casting-character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.casting-carousel-content:hover .casting-character-img {
    transform: scale(1.05);
}

.casting-character-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff4444;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.casting-character-info {
    color: var(--text-color, #fff);
}

.casting-character-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ff4444;
}

.casting-character-project {
    font-size: 0.9rem;
    color: var(--muted-text, #aaa);
    margin-bottom: 10px;
    line-height: 1.4;
}

.casting-character-hint {
    font-size: 0.8rem;
    color: #ff4444;
    font-style: italic;
    opacity: 0.8;
}

/* Кнопки управления каруселью кастинга */
.casting-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4444;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.casting-carousel-control:hover {
    background: #ff3333;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
}

.casting-carousel-control.prev {
    left: 10px;
}

.casting-carousel-control.next {
    right: 10px;
}

.casting-carousel-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* Индикаторы карусели кастинга */
.casting-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: var(--card-bg, #2a2a2a);
    border-top: 1px solid var(--border-color, #333);
}

.casting-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color, #444);
    cursor: pointer;
    transition: all 0.3s ease;
}

.casting-carousel-indicator.active {
    background: #ff4444;
    transform: scale(1.2);
}

.casting-carousel-indicator:hover {
    background: #ff4444;
}

/* Адаптивность */
@media (max-width: 768px) {
    .casting-carousel-container {
        padding: 20px 40px;
    }

    .casting-carousel-control {
        width: 35px;
        height: 35px;
    }

    .casting-carousel-control.prev {
        left: 5px;
    }

    .casting-carousel-control.next {
        right: 5px;
    }

    .casting-carousel-item {
        width: 250px;
    }

    .casting-expandable-title {
        font-size: 1.2rem;
    }

    .casting-expandable-header {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .casting-carousel-container {
        padding: 15px 30px;
    }

    .casting-carousel-item {
        width: 220px;
    }

    .casting-character-image {
        width: 100px;
        height: 100px;
    }

    .casting-character-name {
        font-size: 1.1rem;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casting-carousel-item {
    animation: fadeIn 0.5s ease forwards;
}

.casting-carousel-item:nth-child(1) { animation-delay: 0.1s; }
.casting-carousel-item:nth-child(2) { animation-delay: 0.2s; }
.casting-carousel-item:nth-child(3) { animation-delay: 0.3s; }
.casting-carousel-item:nth-child(4) { animation-delay: 0.4s; }
